package one.stand.controller;

import one.stand.model.ResultModel;
import one.stand.request.NoticeRequest;
import one.stand.response.NoticeResponse;
import org.springframework.web.bind.annotation.*;

import java.util.List;

/**
 * @author: QIK
 * @CreateDate: 2019/5/28 18:16
 */
@RequestMapping("notice")
@RestController
public class NoticeController extends BaseController{

    @PostMapping("selectEffectiveList")
    public ResultModel<List<NoticeResponse>> selectEffectiveList(@RequestBody NoticeRequest request){
        return noticeService.selectEffectiveList(request);
    }
}
